<?php /*a:2:{s:84:"D:\phpstudy_pro\WWW\kaoshi.com\web/../application/plus_exam/view\question\index.html";i:1533518098;s:76:"D:\phpstudy_pro\WWW\kaoshi.com\web/../application/plus_exam/view\layout.html";i:1533518098;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><?php echo $app_name; ?></title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/base.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/iconfont.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/style.css" />
<script type="text/javascript" src="__PUBLIC__/js/do.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/config.js"></script>
</head>
<body>
<div class="main">
<div class="table-tip fn-clear">
<form id="form" action="<?php echo url('plus_exam/question/index',['type' => $type]); ?>" method="get">
<input placeholder="标题关键字" class="input w300" type="text" name="keyword" value="<?php echo $keyword; ?>"/>
<input type="submit" value="搜索" class="button button-blue" />
</form>
</div>
<table class="table">
    <colgroup>
        <col class="w40" />
        <col class="w140" />
        <col class="w140" />
        <col/>
        <col/>
        <col class="w80" />
        <col class="w140" />
        <col class="w140" />
        <col class="w120" />
    </colgroup>
    <thead>
        <tr>
            <th class="fn-tac">#</th>
            <th>题库类型</th>
            <th>题目类型</th>
            <th>题目</th>
            <th>选项</th>
            <th>正确答案</th>
            <th>创建时间</th>
            <th>更新时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
<?php if(is_array($question_list) || $question_list instanceof \think\Collection || $question_list instanceof \think\Paginator): $i = 0; $__LIST__ = $question_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs): $mod = ($i % 2 );++$i;?>
    <tr>
        <td class="fn-tac"><?php echo $rs['id']; ?></td>
        <td><?php echo $rs['category']; ?></td>
        <td><?php echo $rs['type_name']; ?></td>
        <td><?php echo $rs['content']; ?></td>
        <td><?php if(is_array($rs['option_list']) || $rs['option_list'] instanceof \think\Collection || $rs['option_list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $rs['option_list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$son_rs): $mod = ($i % 2 );++$i;?><span class="red"><?php echo $key; ?></span>:<?php echo $son_rs; ?>;<?php endforeach; endif; else: echo "" ;endif; ?></td>
        <td class="fn-tac"><?php echo $rs['answer']; ?></td>
        <td><?php echo $rs['create_time']; ?></td>
        <td><?php echo $rs['update_time']; ?></td>
        <td>
            <a class="a-button a-blue" href="<?php echo url('plus_exam/question/edit',['id'=>$rs['id']]); ?>"><i class="iconfont icon-edit"></i> <?php echo app('lang')->get('lang_ui_edit'); ?></a>
            <a class="a-button isDel" url="<?php echo url('plus_exam/question/delete',['id'=>$rs['id']]); ?>" href="javascript:;" data-rules="delete"><i class="iconfont icon-lajixiang"></i> <?php echo app('lang')->get('lang_ui_delete'); ?></a>
        </td>
    </tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
<div class="page"><?php echo $page; ?></div>
<script type="text/javascript">
Do('base','layer',function(){
    $('.isDel').isDel();
})
</script>
</div>
<script type="text/javascript">
<?php if(isset($pathMaps)): ?>
    parent.pathMaps(<?php echo $pathMaps; ?>);
<?php endif; if(isset($editMenu)): ?>
    parent.editMenu(<?php echo $editMenu; ?>);
<?php endif; ?>
</script>
</body>
</html>